package com.cg.result;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author: Huang先森
 * Date: 2024/12/19 11:37
 * FileName: PageVO
 * Description:
 */
@Data
@Schema(description = "PageVO对象")
public class PageVO<T> {
    @Schema(description = "每页显示条数")
    private Long size = 10L;
    @Schema(description = "当前页码")
    private Long current = 1L;
    @Schema(description = "总记录数")
    private Long total;
    @Schema(description = "总页数")
    private Long pages;
    @Schema(description = "分页数据")
    private List<T> records;
}
